home *** CD-ROM | disk | FTP | other *** search
/ Internet Info 1994 March / Internet Info CD-ROM (Walnut Creek) (March 1994).iso / networking / info-service / prospero / mail / prospero.arc / text0030.txt < prev    next >
Encoding:
Text File  |  1993-07-31  |  1.4 KB  |  36 lines

  1.    Date: Fri, 31 Jul 92 13:45:32 -0400
  2.    From: kaplan@astro.cs.umass.edu (Alan Kaplan)
  3.  
  4.    The manual states in the section on filters:
  5.  
  6.    "Filters are written in C, compiled, and dynamically linked during name
  7.     resolution.  Because of portability problems with the dynamic linker,
  8.     filters are not included in this release, but are available upon
  9.     request."
  10.  
  11.    How does one obtain and use these filters?  I noticed that there is a
  12.    "af" command (add filter?).
  13.  
  14. If you are running on a VAX, and if you ask, we can provide the code
  15. that implements filters.  You would then have to recompile you clients
  16. with the filter option enabled, and with the new code included.
  17.  
  18. At the moment the filter code is not in the sate of being a release.
  19. I have tared it up and given it to a few people though.
  20.  
  21. To use a filter, you write the filter you want (or use some filters
  22. that we provide), compile the filter into a .o file, then use the af
  23. command to associate the filter with a link.  The .o file must be
  24. available in the part of the file system accessible through Prospero.
  25.  
  26. When clients supporting filters encounter a link with a filter
  27. attached, the filter is dynamically linked and executed when
  28. resolving names in the directory to which the filtered link refers.
  29.  
  30. Note that there are some security issues to consider since a user
  31. might not be aware that a filter gets executed when a certain
  32. directories are listed, yet that code gets run as the user.  
  33.  
  34.     ~ Cliff
  35.  
  36.